Conversation
…s after image paste (#1063) GitOrigin-RevId: e5132dcff0399a3d5d14ffc9c8816fb8171debde
Change-Id: I2f6a7aa6fc3a01cbf1c513a1752157822d66029c GitOrigin-RevId: 5f7a070589356d0441120d92a7e7861ed96f53a5
GitOrigin-RevId: 220ab648e419a7ea3edd144c0c5fdd3c64c6fe47
- improve overall structure of makeSqlCondition for consistency - handle _id outside top-level - handle field = false outside top-level - improve error handling Change-Id: Ie9ea389dcbd67714456facd521b3ceb0b6bc8e67 GitOrigin-RevId: 37ab5ce5f252754235772d3c9b4703c06da3dce8
Change-Id: I244289230ef1c71a35140320184f6badaa1a579f GitOrigin-RevId: f1b2e8a0e2c43adb28da295e586b20036908f0c3
GitOrigin-RevId: 7b1c16bc5ef9d3b20423dd9acef87de1bc6a91f8
…ifferent environments GitOrigin-RevId: 9132205b7ce91e76e453fe420be44e7785f96dc8
Change-Id: I4f409d37bbeccf9c6b3c4c750952cc71681b1b6c GitOrigin-RevId: 42032f14bef606d0615a23d291e81611c3d08145
GitOrigin-RevId: 3d152328f1e0bda1f37039c253ad2e0187958fa1
We were not checking if a field is a unique or not. This did not cause any issues since it still looked for null fields properly. Simplify this code by combining into getUniqueFieldsData. Change-Id: I6389849c1fbb9538c959ddc35a7ce8b22098f455 GitOrigin-RevId: 28ce7d53e64f063017259fa37b4d342e6e0c0602
Change-Id: I9ade8606108c79dc705dede6787aa7199353ba90 GitOrigin-RevId: a5d1d0d0fcc2d0357849b4676f3ade4af033383a
* fix(svgo): upgrade package version to fix svg import issues * tests: fix dataUri in tests GitOrigin-RevId: bfe8027df1d4f9c333eb970e56521ffc3b1d00eb
* add repo info, add devDep, delete yarn.lock * remove GraphQL from fetch * simplify fetch, rename symbols response -> body CustomError -> HttpError remove FetchProps * add separate @plasmicpkgs/graphql package * register fetch, graphql in plasmicpkgs-dev * prettierignore API docs GitOrigin-RevId: 4b9dcd30fccf4396b3f372bd1d72f80b52817ce2
* Add publishConfig back for fetch * Add publishConfig to graphql, reset to 0.0.0 GitOrigin-RevId: 3d4515b0f69ce6ad0b4aad9c885835680865bf36
GitOrigin-RevId: 3db3017ef52dbcecc7e638f60dd6687dfea470e6
* fix(copilot): fixed parsing of box-shadow in html-parser * feat(copilot): reformat ui copilot prompt with better organization and box shadow guidelines * fix(copilot): parse multiple box shadows * chore(copilot): improve the ui copilot prompt to use shadows when necessary * feat(web-importer): parse box-shadow using css tree AST instead of regex * chore(copilot): minor prompt changes in box-shadow guidelines * chore(copilot): minor requested changes for code organization in css-utils * fix(copilot): change default box-shadow color to be currentcolor * chore(copilot): remove shadow plasmic related rules as per improvements in html parser * fix(copilot): parse rgb color properly * chore: add yarn.lock changes after rebase GitOrigin-RevId: f47cd03565734a8ce59d33a029cf066ef591ef29
…E (#1072) * feat(copilot-tokens): fix token vars support in html parser and add support of tokens in ui copilot FE * chore(copilot-tokens): add test cases for tokens support in background property GitOrigin-RevId: 366bdb638b08ce62584d882ac4ccd3815000a2cb
* feat(copilot-backend): add existing tokens context in ui copilot prompt * chore(copilot-tokens): add comments for token context prompt * chore(copilot-tokens): use [] instead of Array for types GitOrigin-RevId: ae165de1cb0a5a6d3eb999ef3de52453de97addb
Change-Id: I8974af9cd3b78c4c7ae1191ebd9574e30a2d3c74 GitOrigin-RevId: 858676f84571105ae3d9e2bdaa23d04ae405e5fb
GitOrigin-RevId: 4681aa4415f0d99c959a8b328375ff1ab3475a13
…electors (#1079) GitOrigin-RevId: 012c137968599d0e4ab3d2dac99ffc3729b988ce
GitOrigin-RevId: edca5894d9c195f59d158b2d7f84f4ebbbed67be
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||
PR Type
Enhancement, Bug fix, Tests, Documentation
Description
Add and integrate new GraphQL fetch package (
@plasmicpkgs/graphql)fetchGraphQLfunction and registration for Plasmic hostlessEnhance and refactor SVG optimization logic
Improve CMS SQL query logic and validation
makeSqlConditionfor clarity and error handlinglimit/offsetin CMS queries, with error reportingAdd and test CSS box-shadow parsing utility
parseBoxShadowsfor robust box-shadow normalizationMiscellaneous enhancements and fixes
plasmicpkgs-dev) for local package testingChanges walkthrough 📝
21 files
Add GraphQL fetch function and registrationRefactor SVG optimization to SVGO v3, improve dimension handlingRefactor SQL condition builder, improve error handlingAdd box-shadow parsing utilityIntegrate box-shadow parsing into CSS value fixerAdd utility to extract expected values from prop typesUse extracted expected values for data pickerPass style tokens to Copilot UI requestsAdd CopilotToken type and tokens to Copilot UI requestSupport Copilot tokens in prompt utilsRefactor unique fields data extraction logicUse unified unique fields data extractionRefactor fetch error handling and response shapeAdd min:0 to limit/offset props in CMS query repeaterMake S3 clip bucket/endpoint configurable via envAdd catchall page for dynamic Plasmic renderingAdd root layout for dev app hostAdd Plasmic Canvas Host endpoint for devAdd Plasmic loader initialization for dev hostAdd client-side Plasmic provider and registration logicAdd dev meta registration utility for code components4 files
Add package manifest for @plasmicpkgs/graphqlUpdate dependencies (SVGO v3, css-tree, etc.)Update fetch package version and metadataBump version for CMS package4 files
Add API report for GraphQL packageUpdate fetch API report for new response shapeAdd documentation for dev app hostAdd root documentation for plasmicpkgs4 files
Add comprehensive tests for SQL condition builderAdd tests for CMS query limit/offset validationAdd tests for box-shadow parsing utilityAdd tests for box-shadow parsing in CSS fixer6 files
Enforce non-negative limit/offset in CMS queriesReorder paste priority: HTML after imageFix server query codegen to use valid JS identifiersFix SVG data URI for test consistencyPatch React Aria FocusScope to fix null errorPatch React Aria overlays for overlay positioning6 files
Register new GraphQL package and dev host in monorepoAdd package manifest for dev app hostAdd TypeScript config for dev app hostAdd Next.js config for dev app hostAdd TypeScript config for GraphQL packageIgnore generated api/ folders in plasmicpkgs7 files